﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using T4.Models;

namespace T4.Controllers
{
    public class DefaultController : Controller
    {
        private userEntities _context;
        public DefaultController()
        {
            _context = new userEntities();
        }
        // GET: Default
        public ActionResult Index()
        {
            var courser = _context.users.ToList();
            return View(courser);
        }
    }
}